package User;

import IOPeration.*;

import java.util.Scanner;

public class Normal extends User{
    public Normal(String name){
        super(name);
        this.ioperations=new Ioperation[]{ new Exitsystem(),new Findbook(), new Browbook(), new Returnbook()};
    }
    public int  menu() {
        System.out.println("欢迎"+this.getName()+"来到管理员系统");
        System.out.println("*********普通用户菜单******************");
        System.out.println("*********查找图书********************");
        System.out.println("*********借图书********************");
        System.out.println("*********归还图书********************");
        System.out.println("*********退出系统********************");
        System.out.println("请输入你的操作");
        Scanner scanner=new Scanner(System.in);
        int choice= scanner.nextInt();
        return choice;

    }

}
